package com.hhf.riceshopping.order.feign;

import com.hhf.riceshopping.order.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient("riceshopping-member")
public interface MemberFeignService {

    //查询会员系统的整个收货地址功能
    @GetMapping("/member/memberreceiveaddress/{memeberId}/addresses")
     List<MemberAddressVo> getAddress(@PathVariable("memeberId") Long memeberId);

}
